package org.ziegler.log.analysis.core;

import org.apache.commons.lang3.time.StopWatch;

import org.ziegler.log.analysis.fileFilter.FileFilter;

public class LogProcess extends BaseProcess {

    public LogProcess(FileFilter fileFilter) {
        super(fileFilter);

    }

    @Override
    protected void finish() {
        System.out.println("总处理文件数量 = " + fileFilter.getFiles().size());
        System.out.println("[INFO]计算耗时 = " + getRunTime());

        StopWatch stopWatch = StopWatch.createStarted();
        super.finish();
        System.out.println("[INFO]打印耗时 = " + stopWatch.getTime());
    }

}
